cmake_minimum_required(VERSION 3.10)
project(omx)

set(CMAKE_CXX_STANDARD 17)

#add_library(encoder SHARED encoder_omx64.cpp encoder_omx32.cpp)
#
#add_executable(main main.cpp)
#target_link_libraries(main encoder)

include_directories(D:/Program/OpenMAX_IL_1_1_2_Header)
add_library(OmxComp OmxCompBase.cpp OmxCompEnc.cpp OmxCompDec.cpp)
add_executable(main2 main2.cpp)
target_link_libraries(main2 OmxComp)